package com.example.demo.app2;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

@Service
public class App2Service {

    @Autowired
    App2Mapper app2Mapper;
    public List<HashMap> app2(String no, Date from, Date to) {
        HashMap<String, Object> map = new HashMap<>();
        map.put("no", no);
        map.put("from", from);
        map.put("to", to);
        return app2Mapper.app2(map);
    }
}
